package com.ext.portlet.registration.service.impl;

import java.rmi.RemoteException;
import java.util.List;

import com.ext.portlet.registration.model.CollOthers;
import com.ext.portlet.registration.service.base.CollOthersLocalServiceBaseImpl;
import com.ext.portlet.registration.service.persistence.CollOthersUtil;
import com.liferay.portal.PortalException;
import com.liferay.portal.SystemException;


public class CollOthersLocalServiceImpl extends CollOthersLocalServiceBaseImpl {

	public List<CollOthers> getAllCollOthers()
	throws PortalException, SystemException, RemoteException {
		return collOthersPersistence.findAll();		
	}

	public List<CollOthers> getByStatus(Integer status) throws SystemException{
		return CollOthersUtil.findByStatus(status);
	}

	public CollOthers EmailValidation(String emailAddress) throws SystemException{
		return collOthersPersistence.fetchByEmailAddress(emailAddress);
	}	
	 
	public CollOthers getByLoginId(String loginId) throws SystemException {
		return CollOthersUtil.fetchByLoginId(loginId);
	}
}
